<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>pyswap: SwapInterface::SwapInterface Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />

<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="panStamp_web.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">pyswap
   
   </div>
   
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><b>SwapInterface</b>      </li>
      <li class="navelem"><a class="el" href="classSwapInterface_1_1SwapInterface.html">SwapInterface</a>      </li>
    </ul>
  </div>
</div>
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-attribs">Public Attributes</a>  </div>
  <div class="headertitle">
<div class="title">SwapInterface::SwapInterface Class Reference</div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="SwapInterface::SwapInterface" -->
<p>SWAP Interface superclass.  
 <a href="classSwapInterface_1_1SwapInterface.html#details">More...</a></p>

<p><a href="classSwapInterface_1_1SwapInterface-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a790bd01704f35649800602247f332982"></a><!-- doxytag: member="SwapInterface::SwapInterface::swapServerStarted" ref="a790bd01704f35649800602247f332982" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a790bd01704f35649800602247f332982">swapServerStarted</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">SWAP server started successfully. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a5f5ad8c8be2dbfda31f776d56c6cedac">newMoteDetected</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">New mote detected by SWAP server.  <a href="#a5f5ad8c8be2dbfda31f776d56c6cedac"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#aac1301783ce7db492d003a97322d6dfe">newParameterDetected</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">New configuration parameter detected by SWAP server.  <a href="#aac1301783ce7db492d003a97322d6dfe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a08c0f981657f2ff49beef662c26d410e">newEndpointDetected</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">New endpoint detected by SWAP server.  <a href="#a08c0f981657f2ff49beef662c26d410e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a2af3ff27508df017393d09cfb631a79e">moteStateChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mote state changed.  <a href="#a2af3ff27508df017393d09cfb631a79e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a22287e5b4fe2103fc5e81a8e17effcb1">moteAddressChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Mote address changed.  <a href="#a22287e5b4fe2103fc5e81a8e17effcb1"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a1f55648729ed30e56dbfd5dea2e869b2">registerValueChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Register value changed.  <a href="#a1f55648729ed30e56dbfd5dea2e869b2"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a26dbbfa0036e9d70855171590bba7454">endpointValueChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Endpoint value changed.  <a href="#a26dbbfa0036e9d70855171590bba7454"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#aa851c0fec097e1caa584e1e1af174422">parameterValueChanged</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Configuration parameter changed.  <a href="#aa851c0fec097e1caa584e1e1af174422"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#ab5d1a499812991acfb9f8a0cc455f071">getNbOfMotes</a></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a0dfaaa673a8f78ed708febee232905d9">getMote</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Return mote from list.  <a href="#a0dfaaa673a8f78ed708febee232905d9"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a4dad945b59210d2cda5c2b2148ba2dfe">setMoteRegister</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Set new register value on wireless mote.  <a href="#a4dad945b59210d2cda5c2b2148ba2dfe"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#ac0215897723e31090c854e95bee3c00e">queryMoteRegister</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Query mote register, wait for response and return value Non re-entrant method!!  <a href="#ac0215897723e31090c854e95bee3c00e"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a7cc5067e1bfc2446271ab756284a6ba2"></a><!-- doxytag: member="SwapInterface::SwapInterface::create_server" ref="a7cc5067e1bfc2446271ab756284a6ba2" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a7cc5067e1bfc2446271ab756284a6ba2">create_server</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Create server object. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a5ab8efcb1862aa7e8b907dfc3a99cde6"></a><!-- doxytag: member="SwapInterface::SwapInterface::start" ref="a5ab8efcb1862aa7e8b907dfc3a99cde6" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a5ab8efcb1862aa7e8b907dfc3a99cde6">start</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Start SWAP server. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="a6699a9fb863a2eda9afbcba34eaf45ab"></a><!-- doxytag: member="SwapInterface::SwapInterface::stop" ref="a6699a9fb863a2eda9afbcba34eaf45ab" args="" -->
def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#a6699a9fb863a2eda9afbcba34eaf45ab">stop</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Stop SWAP server. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">def&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#aadbcb761617eed03b774a03db990825c">__init__</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Class constructor.  <a href="#aadbcb761617eed03b774a03db990825c"></a><br/></td></tr>
<tr><td colspan="2"><h2><a name="pub-attribs"></a>
Public Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ac3c006eb7ed71c7a6829970e60b9d443"></a><!-- doxytag: member="SwapInterface::SwapInterface::server" ref="ac3c006eb7ed71c7a6829970e60b9d443" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#ac3c006eb7ed71c7a6829970e60b9d443">server</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">SWAP server. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="ade4a2dc6fceaf85b95e0d8429db864ba"></a><!-- doxytag: member="SwapInterface::SwapInterface::verbose" ref="ade4a2dc6fceaf85b95e0d8429db864ba" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#ade4a2dc6fceaf85b95e0d8429db864ba">verbose</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Verbose option. <br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="anchor" id="abb9bfa6ec389f44dcc56b704ac4fd844"></a><!-- doxytag: member="SwapInterface::SwapInterface::lstMotes" ref="abb9bfa6ec389f44dcc56b704ac4fd844" args="" -->
&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classSwapInterface_1_1SwapInterface.html#abb9bfa6ec389f44dcc56b704ac4fd844">lstMotes</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">List of motes. <br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p>SWAP Interface superclass. </p>
<p>Any SWAP application should derive from this one </p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="aadbcb761617eed03b774a03db990825c"></a><!-- doxytag: member="SwapInterface::SwapInterface::__init__" ref="aadbcb761617eed03b774a03db990825c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::__init__ </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>settings</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>verbose</em> = <code>False</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>start</em> = <code>True</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Class constructor. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">settings,:</td><td>path to the main configuration file </td></tr>
    <tr><td class="paramname">verbose,:</td><td>Print out SWAP frames </td></tr>
    <tr><td class="paramname">start,:</td><td>Start SWAP server if True </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a26dbbfa0036e9d70855171590bba7454"></a><!-- doxytag: member="SwapInterface::SwapInterface::endpointValueChanged" ref="a26dbbfa0036e9d70855171590bba7454" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::endpointValueChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>endpoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Endpoint value changed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">endpoint,:</td><td>Endpoint having changed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a0dfaaa673a8f78ed708febee232905d9"></a><!-- doxytag: member="SwapInterface::SwapInterface::getMote" ref="a0dfaaa673a8f78ed708febee232905d9" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::getMote </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>index</em> = <code>None</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>address</em> = <code>None</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Return mote from list. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">index,:</td><td>Index of the mote within lstMotes </td></tr>
    <tr><td class="paramname">address,:</td><td>SWAP address of the mote</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>mote </dd></dl>

</div>
</div>
<a class="anchor" id="ab5d1a499812991acfb9f8a0cc455f071"></a><!-- doxytag: member="SwapInterface::SwapInterface::getNbOfMotes" ref="ab5d1a499812991acfb9f8a0cc455f071" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::getNbOfMotes </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">
<dl class="return"><dt><b>Returns:</b></dt><dd>the amounf of motes available in lstMotes </dd></dl>

</div>
</div>
<a class="anchor" id="a22287e5b4fe2103fc5e81a8e17effcb1"></a><!-- doxytag: member="SwapInterface::SwapInterface::moteAddressChanged" ref="a22287e5b4fe2103fc5e81a8e17effcb1" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::moteAddressChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mote address changed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mote,:</td><td>Mote having changed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a2af3ff27508df017393d09cfb631a79e"></a><!-- doxytag: member="SwapInterface::SwapInterface::moteStateChanged" ref="a2af3ff27508df017393d09cfb631a79e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::moteStateChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Mote state changed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mote,:</td><td>Mote having changed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a08c0f981657f2ff49beef662c26d410e"></a><!-- doxytag: member="SwapInterface::SwapInterface::newEndpointDetected" ref="a08c0f981657f2ff49beef662c26d410e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::newEndpointDetected </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>endpoint</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>New endpoint detected by SWAP server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">endpoint,:</td><td>Endpoint detected </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a5f5ad8c8be2dbfda31f776d56c6cedac"></a><!-- doxytag: member="SwapInterface::SwapInterface::newMoteDetected" ref="a5f5ad8c8be2dbfda31f776d56c6cedac" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::newMoteDetected </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>New mote detected by SWAP server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mote,:</td><td>mote detected </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aac1301783ce7db492d003a97322d6dfe"></a><!-- doxytag: member="SwapInterface::SwapInterface::newParameterDetected" ref="aac1301783ce7db492d003a97322d6dfe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::newParameterDetected </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>parameter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>New configuration parameter detected by SWAP server. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parameter,:</td><td>Endpoint detected </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="aa851c0fec097e1caa584e1e1af174422"></a><!-- doxytag: member="SwapInterface::SwapInterface::parameterValueChanged" ref="aa851c0fec097e1caa584e1e1af174422" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::parameterValueChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>parameter</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Configuration parameter changed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">parameter,:</td><td>configuration parameter having changed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="ac0215897723e31090c854e95bee3c00e"></a><!-- doxytag: member="SwapInterface::SwapInterface::queryMoteRegister" ref="ac0215897723e31090c854e95bee3c00e" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::queryMoteRegister </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>regId</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Query mote register, wait for response and return value Non re-entrant method!! </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mote,:</td><td>Mote to be queried </td></tr>
    <tr><td class="paramname">regID,:</td><td>Register ID</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>register value </dd></dl>

</div>
</div>
<a class="anchor" id="a1f55648729ed30e56dbfd5dea2e869b2"></a><!-- doxytag: member="SwapInterface::SwapInterface::registerValueChanged" ref="a1f55648729ed30e56dbfd5dea2e869b2" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::registerValueChanged </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>register</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Register value changed. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">register,:</td><td>Register having changed </td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a class="anchor" id="a4dad945b59210d2cda5c2b2148ba2dfe"></a><!-- doxytag: member="SwapInterface::SwapInterface::setMoteRegister" ref="a4dad945b59210d2cda5c2b2148ba2dfe" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">def SwapInterface::SwapInterface::setMoteRegister </td>
          <td>(</td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>self</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>mote</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>regId</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">&#160;</td>
          <td class="paramname"><em>value</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Set new register value on wireless mote. </p>
<dl><dt><b>Parameters:</b></dt><dd>
  <table class="params">
    <tr><td class="paramname">mote,:</td><td>Mote targeted by this command </td></tr>
    <tr><td class="paramname">regId,:</td><td>Register ID </td></tr>
    <tr><td class="paramname">value,:</td><td>New register value</td></tr>
  </table>
  </dd>
</dl>
<dl class="return"><dt><b>Returns:</b></dt><dd>True if the command is correctly ack'ed. Return False otherwise </dd></dl>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>/home/daniel/development/Aptana/pyswap/src/SwapInterface.py</li>
</ul>
</div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Variables</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>



<hr class="footer"/><address class="footer"><small>
Generated on Fri Dec 9 2011 16:23:28 for pyswap by &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.7.5.1
</small></address>

</body>
</html>
